﻿<fundamentals:OfficeWindow x:Name="window" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		x:Class="Microsoft.Samples.CustomControls.ColorPickerDialog"
		xmlns:customControls="clr-namespace:Microsoft.Samples.CustomControls"
		xmlns:fundamentals="clr-namespace:Daytimer.Fundamentals;assembly=Daytimer.Fundamentals" Title="Select a Color"
		Height="395" Width="532" MinHeight="395" MinWidth="400" WindowStartupLocation="CenterOwner">
	<Grid Margin="15,5,15,15">
		<Grid.ColumnDefinitions>
			<ColumnDefinition />
			<ColumnDefinition Width="Auto" />
			<ColumnDefinition Width="Auto" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="*" />
			<RowDefinition Height="Auto" />
		</Grid.RowDefinitions>
		<customControls:colorpickerlib x:Name="cPicker" Grid.ColumnSpan="3" Margin="0,0,0,15" />
		<Button Content="_OK" HorizontalAlignment="Right" Grid.Row="1" Grid.Column="1" Margin="0,0,10,0" Width="85"
				Height="25" IsDefault="True" Click="okButton_Click" />
		<Button Content="_Cancel" HorizontalAlignment="Right" Grid.Row="1" Grid.Column="2" Margin="0,0,0,0" Width="85"
				Height="25" IsCancel="True" />
	</Grid>
</fundamentals:OfficeWindow>
